<%@ page pageEncoding="UTF-8" contentType="text/html; charset=utf-8"  %>
<%@ include file="/user/load_user_with_redirect.jsp" %>
<%
	String reading = request.getParameter("reading");
	if (reading.equals("")){
		return;
	}
	String language = request.getParameter("language");

				String id = request.getParameter("id");
	org.languageguide.readings.ReadingManager.addTranslation(session, reading, language, user);

		response.sendRedirect("translate_reading_session_translations.jsp?id=" + id + "&target=" + language );
%>